const menuData = [

  {
    name: '仪表盘',
    icon: 'dashboard',
    path: '/dashboard',
  },

  {
    name: 'ant库',
    icon: 'desktop',
    path: '/ant',
    children: [
      {
        name: '数据输入',
        path: '/dataEnter',
      },
      {
        name: '数据展示',
        path: '/dataDisplay',
      },
      {
        name: '列表数据',
        path: '/list',
      },
      {
        name: '数据表格',
        path: '/datatable',
      },
      {
        name: 'Feedback',
        path: '/feedback',
      },
    ],
  },
  {
    name: 'UI元素',
    icon: 'form',
    path: '/ui',
    children: [
      {
        name: '按钮',
        path: '/button',
      },
      {
        name: '图标',
        path: '/icons',
      },
      {
        name: 'flex布局',
        path: '/flex',
      },

      {
        name: 'html元素',
        path: '/html',
      },

      {
        name: '3d',
        path: '/3d',
      },
    ],
  },
  {
    name: '外部功能',
    icon: 'table',
    path: '/externalefun',
    children: [
      {
        name: '事件存储',
        path: '/es',
      },
    ],
  },
  {
    name: '详情页',
    icon: 'profile',
    path: 'profile',
    children: [
      {
        name: '基础详情页',
        path: 'basic',
      },
      {
        name: '高级详情页',
        path: 'advanced',
        authority: 'admin',
      },
    ],
  },
  {
    name: '结果页',
    icon: 'check-circle-o',
    path: 'result',
    children: [
      {
        name: '成功',
        path: 'success',
      },
      {
        name: '失败',
        path: 'fail',
      },
    ],
  },
  {
    name: '异常页',
    icon: 'warning',
    path: 'exception',
    children: [
      {
        name: '403',
        path: '403',
      },
      {
        name: '404',
        path: '404',
      },
      {
        name: '500',
        path: '500',
      },
      {
        name: '触发异常',
        path: 'trigger',
        hideInMenu: true,
      },
    ],
  },
];


export default menuData;
